package com.jcf.springboot;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan("com.jcf")
//public class CinemaApplication extends SpringBootServletInitializer {
public class CinemaApplication{
    public static void main(String[] args) {
        SpringApplication.run(CinemaApplication.class, args);
    }
//
//    @Override
//    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
//        return builder.sources(CinemaApplication.class);
//    }


}
